import request from '@/utils/request'

export function getLogs(data) {
  return request({
    url: '/sys/operlog/list',
    method: 'post',
    data
  })
}

export function getMessageList(data) {
  return request({
    url: '/core/busMassage/query',
    method: 'post',
    data
  })
}

export function getUnReadMessageList(data) {
  return request({
    url: '/core/busMassage/queryNoRead',
    method: 'post',
    data
  })
}

export function updateMessageStatus(data) {
  return request({
    url: '/core/busMassage/updateStatus',
    method: 'post',
    data
  })
}

